package com.ponhu.ea2.enums;

/**
 * @author luyu
 * @create 2021-10-27 14:17
 */
public enum GoodsStatusEnum {

    ON_SHELF(1, "已上架"),
    PUT_SHELF(2, "未上架")
    ;

    private Integer code;

    private String name;

    GoodsStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
